Skip to content

Reduce Rails Dependencies to Railties#33

Open
BenMorganIO wants to merge 10 commits intobharget:mainfrom
BenMorganIO:reduce-rails-deps
Open

Reduce Rails Dependencies to Railties#33
BenMorganIO wants to merge 10 commits intobharget:mainfrom
BenMorganIO:reduce-rails-deps

Conversation

@BenMorganIO
Copy link
Copy Markdown

@BenMorganIO BenMorganIO commented Feb 25, 2023

Fixes #32

This PR removes a large amount of rails dependencies to what is required by heroicon.

The whole dummy application was not required. It even hid a configuration setup for Heroicon that set up a test. That has been fixed.

The process was fairly simple. Check the Gemfile.lock into git so that I can track dependency removal and explicitly add each rails dependency. Then I went and individually removed each one until I figured out what was really going on. The dummy application, which wasn't even used, required the rails deps. So I commented out loading the dummy application and some more active storage configs in the test helper and reran the tests. A single failure was noticed and it just needed a configuration setup.

−1,832 lines removed in exchange for +12 new lines.

@BenMorganIO
Copy link
Copy Markdown
Author

BenMorganIO commented Apr 13, 2023

Hey there, just bumping this.

@BenMorganIO
Copy link
Copy Markdown
Author

@bharget I'm sure you're very busy, but just giving this change another bump.

@jclusso
Copy link
Copy Markdown

jclusso commented Apr 25, 2024

@BenMorganIO I've forked this as mentioned in #37 and really liked this. If you open this against https://github.com/jclusso/heroicon-ruby, I'll get it merged in. This gem has way to many unnecessary dependencies.

@jclusso
Copy link
Copy Markdown

jclusso commented Apr 25, 2024

@BenMorganIO I've started work incorporating your changes into a PR. jclusso/heroicons#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heroicon importing all of Rails

4 participants